package model;

import java.sql.Timestamp;

/**
 * TReview entity. @author MyEclipse Persistence Tools
 */

public class TReview implements java.io.Serializable {

	// Fields

	private Integer reviewid;
	private Integer novelid;
	private Integer chapterid;
	private String userid;
	private String reviewcontent;
	private String ipaddr;
	private Timestamp createtime;
	private String reply;

	// Constructors

	/** default constructor */
	public TReview() {
	}

	/** minimal constructor */
	public TReview(Integer novelid, Integer chapterid, String userid,
			String reviewcontent) {
		this.novelid = novelid;
		this.chapterid = chapterid;
		this.userid = userid;
		this.reviewcontent = reviewcontent;
	}

	/** full constructor */
	public TReview(Integer novelid, Integer chapterid, String userid,
			String reviewcontent, String ipaddr, Timestamp createtime,
			String reply) {
		this.novelid = novelid;
		this.chapterid = chapterid;
		this.userid = userid;
		this.reviewcontent = reviewcontent;
		this.ipaddr = ipaddr;
		this.createtime = createtime;
		this.reply = reply;
	}

	// Property accessors

	public Integer getReviewid() {
		return this.reviewid;
	}

	public void setReviewid(Integer reviewid) {
		this.reviewid = reviewid;
	}

	public Integer getNovelid() {
		return this.novelid;
	}

	public void setNovelid(Integer novelid) {
		this.novelid = novelid;
	}

	public Integer getChapterid() {
		return this.chapterid;
	}

	public void setChapterid(Integer chapterid) {
		this.chapterid = chapterid;
	}

	public String getUserid() {
		return this.userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public String getReviewcontent() {
		return this.reviewcontent;
	}

	public void setReviewcontent(String reviewcontent) {
		this.reviewcontent = reviewcontent;
	}

	public String getIpaddr() {
		return this.ipaddr;
	}

	public void setIpaddr(String ipaddr) {
		this.ipaddr = ipaddr;
	}

	public Timestamp getCreatetime() {
		return this.createtime;
	}

	public void setCreatetime(Timestamp createtime) {
		this.createtime = createtime;
	}

	public String getReply() {
		return this.reply;
	}

	public void setReply(String reply) {
		this.reply = reply;
	}

}